package com.itbupt.eat.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @Author BUPT-Dingchang
 * @Create 2024/5/2 11:55
 * ClassName: User
 * Description:
 */

@Data
public class User {

    private static final Long serialVersionUID = 2L;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String name;
    private String email;
    private String sex;
    private String idNumber;
    private String avatar;
    private Integer status;
}
